<?php
class Z1user extends AppModel {
	var $name = 'Z1user';
	var $virtualFields = array('name' => "CONCAT(Z1user.maso, '-', Z1user.hoten)");
	//The Associations below have been created with all possible keys, those that are not needed can be removed

	var $belongsTo = array(
		'Chidoansv' => array(
			'className' => 'Chidoansv',
			'foreignKey' => 'chidoansv_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'Khoa' => array(
			'className' => 'Khoa',
			'foreignKey' => 'khoa_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'Chucv' => array(
			'className' => 'Chucv',
			'foreignKey' => 'chucv_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'Khoahoc' => array(
			'className' => 'Khoahoc',
			'foreignKey' => 'khoahoc_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		)
	);
}
